package hong.jun.pet_home.domain.pet;

import hong.jun.basic.base.domain.Basedomain;
import hong.jun.pet_home.domain.org.Shop;
import hong.jun.pet_home.domain.user.User;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 领养的宠物表
 * 店铺收到宠物开始-上架 -用户下单 - 收养结束
 */
@Data
public class Pet extends Basedomain {
    private String name;           //名称
    private Integer age;            //年龄
    private Integer gender;         //性别
    private String coat_color;     //毛色
    private String resources;      //图片资源
    private BigDecimal saleprice;      //领养售价
    private Date offsaletime;    //下架时间
    private Date onsaletime;     //上架时间
    private Integer state;          //状态 -1不好 0正常 1上架 2被收养
    private BigDecimal costprice;      //收购售价
    private Date createtime;     //创建时间
    private Long type_id;      //类型
    private Long shop_id;        //处理店铺id
    private Shop shop;
    private Long user_id;        //所属主人id
    private User user;
    private Long adopt_id;       //所属原订单id
    private Long detail_id;      //宠物详情
    private PetDetail detail;
}